-
Notifications
You must be signed in to change notification settings - Fork 38
Update VASP integration for aiida-vasp v5.0 compatibility #350
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The workchain has implemented automatic convertion to AiiDA data types already.
aiida-vasp support python >=3.10 only
For now only an example with the ACWF, not yet the 4-state workflow. Note: it needs aiidateam/aiida-common-workflows#350
|
Thanks @zhubonan ! It seems that tests are failing because the pseudo potentials are note available? Since I'm not familiar with aiida-vasp, I'm not sure why this happening now and not before. Would be great if you could have a look. I'll do a review afterwards, hopefully very soon. Thanks! |
|
Ah I see. I added a validator for the pseudopotential family for their existence. That is causing the error as the family does not exists when |
|
BTW Can we bump the minimum python version required by aiida-common-workflows to 3.10? (or just for for CI) aiida-vasp only works with 3.10+ now. |
|
Yes, I think that's fine, it's anyway EOL. |
|
@t-reents The tests are fixed now. Please have a check. Also, it seems that GitHub's PR check needs the 3.9 test which does not run anymore, so it show I1 pending check. |
t-reents
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @zhubonan !
I had a look at the code and everything seems fine, and @giovannipizzi also tested it so good to go from my side. Thanks for fixing the tests. The 3.9 is of course pending since we removed it.
Thank you!!
Summary
This PR updates the VASP workflow integration to be compatible with aiida-vasp v5.0, which introduced breaking API changes. The changes ensure that the common VASP relaxation workflows continue to work with the latest version of the aiida-vasp plugin.
Key Changes
pyproject.tomlbuilder.vasp.*instead of top-level attributes)DataFactory()calls - aiida-vasp v5.0 accepts native Python typesoutputs.relax.structurevsoutputs.relax__structure)RECOMMENDED_MP_PBE)Files Modified